package com.ace.test;

import com.ace.bean.imp.Knight;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.test.context.ContextConfiguration;


/**
 * Created by com.ace on 2018/3/8.
 */
@Component
@ContextConfiguration(classes= com.ace.config.sample.KnightConfig.class)
public class Launcher {

    @Autowired
    private Knight knight;

//    @Autowired
//    private Quest quest;


//    @Test
//    public void main() {
//        Launcher launcher = new Launcher();
////        launcher.diTest();
//    }

    public static void main(String[] args) {
        Launcher launcher = new Launcher();
        launcher.diTest();
    }

    public void diTest(){
//        assertNotNull(quest);

//        this.knight.embarkOnQuest();
    }
}
